﻿@model MvcApplication2.Controllers.UserProfileViewModel

<section id="dev-section">
    <div class="page-header">
        <h2>
        Tester Side <small></small></h2>
    </div>

<div class="row well">
    <dl class="dl-horizontal">
        <dt><strong>User type tester - dev - both </strong></dt>
        <dt>Languages</dt>
        <dd>@Model.FormattedLanguages</dd>
        <dt>Tester - Exercise Completed</dt>
        <dd>@Model.OwnDevices</dd>
        <dt>Screencapture</dt>
        <dd></dd>
        <dt>Webcam</dt>
        <dd></dd>
    </dl>
</div>

@*@{        
    var grid = new WebGrid(source: Model.TesterReviews,
                 defaultSort: "Title",
                 rowsPerPage: 25);
    grid.Pager(WebGridPagerModes.All);
}
<div class="row well ">
    @grid.GetHtml(
        tableStyle: "table table-condensed",
        columns: grid.Columns(
            grid.Column(columnName: "Title", format: (item) => Html.ActionLink((string)item.Title, "Details", "DeveloperExercise", new { id = item.ExerciseId }, null), canSort: true),
            grid.Column("OwnerName", "Owner"),
            grid.Column("DeviceName", "Device"),
            grid.Column(format: (item) => Html.ActionLink("SendProposal", "SendProposal", new { id = item.ExerciseId }, new { @class = "btn btn-primary btn-mini" })))
           )
</div>*@
</section>